package com.knowswift.common.bean.issue.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author CTL
 * @create 2025-07-17 16:49
 */
@Data
public class CustomerVO {

    @TableId(type = IdType.ASSIGN_UUID)
    private String customerId;
    /**
     * 客户编码
     */
    private String customerCode;
    /**
     * 客户名称
     */
    @NotNull(message = "客户名称不能为空")
    private String customerName;
    /**
     * 客户地址
     */
    private String address;
    /**
     * 联系发送
     */
    private String phone;
    /**
     * 状态（0停用1启用）
     */
    private int status;

    private  int isDelete;

    private Long createUserId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String  username;

    private Long pageNo;
    private Long pageSize;
    private String type;


}
